package com.toy.core.security.authenticate;

import com.toy.core.security.Authentication;
import com.toy.core.security.exception.AuthenticationException;

/**
 * 验证用户和密码
 * @author bin.xie
 *
 */
public interface AuthenticationProvider {
	
	 Authentication authenticate(Authentication authentication)throws AuthenticationException;
}
